#ifndef LAYERPANEL_H
#define LAYERPANEL_H
#include <QWidget>
#include <QVector>
#include "ui_LayerPanel.h"
#include "Ptr.hpp"
#include "Work.h"
#include "LayerItem.h"



using namespace OOPUtils;



class LayerPanel : public QWidget
{
	Q_OBJECT

private:

	Ui::LayerPanel ui;
	Ptr< Work > _pWork;
	QVector< LayerItem * > _layerItems;
	QVector< Ptr< AlgebraicOperation > > _layerModes;

public:

	LayerPanel (QWidget *parent = 0);
	~LayerPanel ();

	void setWork (Ptr< Work > pWork);

public slots:

	void selectLayer (int index);

	void selectMode (int modeIndex);

};

#endif // LAYERPANEL_H
